/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2016
 */

package com.jzwl.site.manager.staticinfo.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jzwl.common.page.PageObject;

import com.jzwl.site.manager.staticinfo.pojo.*;
import com.jzwl.site.manager.staticinfo.dao.*;
import com.jzwl.site.manager.staticinfo.service.*;


@Service("siteStaticinfoService")
public class SiteStaticinfoService {
	
	
	@Autowired
	private SiteStaticinfoDao siteStaticinfoDao;
	
	public boolean updateStatus(Map<String, Object> map){
		return siteStaticinfoDao.updateStatus(map);
	}
	
	public boolean addSiteStaticinfo(Map<String, Object> map) {
		
		return siteStaticinfoDao.addSiteStaticinfo(map);
		
	}

	public PageObject querySiteStaticinfoList(Map<String, Object> map) {
		
		return siteStaticinfoDao.querySiteStaticinfoList(map);
	
	}

	public boolean updateSiteStaticinfo(Map<String, Object> map) {
	
		return siteStaticinfoDao.updateSiteStaticinfo(map);
	
	}

	public boolean deleteSiteStaticinfo(Map<String, Object> map) {
		
		return siteStaticinfoDao.deleteSiteStaticinfo(map);
	
	}
	
	public boolean delSiteStaticinfo(Map<String, Object> map) {
		
		return siteStaticinfoDao.delSiteStaticinfo(map);
	}
	
	
	@SuppressWarnings("unchecked")
	public SiteStaticinfo getById(Map<String, Object> map) {
		
		return siteStaticinfoDao.getById(map);
	}
	
	
}
